﻿@{
    ViewBag.Title = "计划完成汇总表";
}

@section PSI_JS{
    <script src="@Url.Content("~/Scripts/PSI/App.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/Home/MainForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/PSI/InPlan/TodayPlanForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/PSI/OutPlan/TodayPlanForm.js?dt=" + DateTime.Now.Ticks.ToString())" type="text/javascript"></script>
}

<script type="text/javascript">
    Ext.onReady(function () {
        var app = Ext.create("PSI.App", {
            userName: "@ViewBag.UserName",
            showRecent: true
        });

        var dd = "@ViewBag.today";
        app.createMainUI();

        var mp = app.getMainPanel();

        var mainForm = Ext.create("PSI.Home.MainForm", { today: dd });
        mainForm.createUI();
        mp.add(mainForm.getMainPanel());
    });
</script>